<template>
	<view>
		<!-- 我的 -->

		<button @click="logout">退出</button>

	</view>
</template>

<script>
	export default {
		data() {
			return {



			}
		},
		methods: {

			logout() {

				uni.removeStorageSync("login:userid");
				uni.redirectTo({
					url: "/pages/login/login"
				})

			},

		}
	}
</script>

<style>

</style>